#ifndef SUPPLIERVIEWDETAILSDIALOG_H
#define SUPPLIERVIEWDETAILSDIALOG_H

#include <QtGui>
#include "core/suppliermodel.h"
#include "core/suppliercontroller.h"

class SupplierViewDetailsDialog : public QDialog
{
    Q_OBJECT
public:
    explicit SupplierViewDetailsDialog(QWidget *parent, SupplierModel *supplier);
    void setSupplier(SupplierModel *supplier);
signals:

public slots:

private:
    void initUiComponents();
    void initSignalsAndSlots();

    SupplierController *supplierCtrl;

    QVBoxLayout *mainLayout;
    QGridLayout *gridLayout;

    QLabel *nameLabel;
    QLabel *countryLabel;
    QLabel *contactLabel;

    QLabel *supplierCountryLabel;
    QLabel *supplierContactLabel;

    QDialogButtonBox *buttonBox;
};

#endif // SUPPLIERVIEWDETAILSDIALOG_H
